@import"openscss/color";
@import"openscss/model";
.article {
    background-color: #efefef;
    padding: 35px 0;
    .box {
        width: 1200px;
        margin: 0 auto;
        .author {
            width: 255px;
            box-sizing: border-box;
            padding: 25px 15px;
            border-radius: 10px;
            background-color: $white;
            margin-right: 25px;
            display: inline-block;
            vertical-align: top;
            .head {
                text-align: center;
                img {
                    width: 126px;
                    height: 126px;
                }
            }
            .name {
                font-size: 15px;
                color: red;
                text-align: center;
                line-height: 22px;
                padding-bottom: 15px;
                border-bottom: 1px solid #ddd;
            }
            .content {
                text-align: center;
                padding: 10px 0;
                .item {
                    display: inline-block;
                    vertical-align: top;
                    padding: 0 15px;
                    border-right: 1px solid #ddd;
                    line-height: 22px;
                    &:last-child {
                        border-right: none;
                    }
                    .num {
                        color: red;
                    }
                }
            }
        }
        .contents {
            display: inline-block;
            vertical-align: top;
            width: 920px;
            box-sizing: border-box;
            padding: 25px 15px;
            background-color: $white;
            .title {
                font-size: 23px;
                font-weight: bold;
                margin-bottom: 20px;
            }
            .time {
                color: #aaa;
                padding-bottom: 10px;
                border-bottom: 1px solid #ddd;
            }
            .content {
                margin-top: 10px;
                padding: 5px;
                padding-bottom: 15px;
                min-height: 350px;
                background-color: #fafafa;
                img {
                    display: block;
                    max-width: 100%;
                }
            }
            .division {
                height: 35px;
                font-size: 16px;
                font-weight: bold;
                line-height: 40px;
                border-bottom: 2px solid #eee;
            }
            .comments {
                margin-top: 10px;
                .comment {
                    padding: 10px 0;
                    margin-bottom: 25px;
                    border-bottom: 1px solid #eee;
                    &:last-child {
                        margin-bottom: 0;
                        border-bottom: none;
                    }
                    .who {
                        line-height: 30px;
                        padding: 0 5px;
                    }
                    .detail {
                        background-color: #fafafa;
                        padding: 15px 5px;
                        line-height: 22px;
                    }
                }
            }
        }
    }
    .reply {
        width: 920px;
        margin-top: 20px;
        margin-left: 280px;
        box-sizing: border-box;
        padding: 15px;
        background-color: $white;
        textarea {
            width: 100%;
            border: 1px solid #eee;
            box-sizing: border-box;
            padding: 5px;
            line-height: 22px;
            height: 120px;
            resize: none;
        }
        .methods {
            padding: 10px 0;
            .method {
                color: #b36d41;
                padding: 5px 0;
                border-right: 1px solid #eee;
                cursor: pointer;
                &:hover {
                    color: $orange;
                }
                &:last-child {
                    border-right: none;
                }
            }
        }
    }
}
